@echo off
echo Checking dependencies...
echo.

python -c "import face_recognition; print('face_recognition: OK')" 2>nul
if %errorlevel% neq 0 (
    echo Error: face_recognition module not found
    echo Please install dependencies by running install_deps.bat or follow the instructions in README.md
    echo.
    pause
    exit /b 1
)

python -c "import cv2; print('opencv-python: OK')" 2>nul
if %errorlevel% neq 0 (
    echo Error: opencv-python module not found
    echo Please install dependencies by running install_deps.bat or follow the instructions in README.md
    echo.
    pause
    exit /b 1
)

python -c "import yaml; print('PyYAML: OK')" 2>nul
if %errorlevel% neq 0 (
    echo Error: PyYAML module not found
    echo Please install dependencies by running install_deps.bat or follow the instructions in README.md
    echo.
    pause
    exit /b 1
)

echo All dependencies are installed.
echo Starting GUI...
python src/gui_launcher.py